ComponentOne Xamarin.Android
CanGroup<T>(ICollectionView<T>,GroupDescription[]) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > CanGroup Method : CanGroup<T>(ICollectionView<T>,GroupDescription[]) Method
The collection view.
The group descriptions that determine how the data will be grouped.
Returns true if the collection view supports sorting.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function CanGroup(Of T As Class)( _
   ByVal collectionView As ICollectionView(Of T), _
   ByVal ParamArray groupDescriptions() As GroupDescription _
) As Boolean
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim groupDescriptions() As GroupDescription
Dim value As Boolean
 
value = ICollectionViewEx.CanGroup(Of T)(collectionView, groupDescriptions)
[Extension()]
public static bool CanGroup<T>( 
   ICollectionView<T> collectionView,
   params GroupDescription[] groupDescriptions
)
where T: class

Parameters

collectionView
The collection view.
groupDescriptions
The group descriptions that determine how the data will be grouped.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List